/**
 * Created by Administrator on 2017/4/20.
 */


var Poker = require('../Poker/Poker');

var Pattern = {
    'SINGLE': 1 ,   //单牌
    'PAIR': 2 ,     //对子
    'SHUNZI': 3 ,   //顺子
    'PAIRS': 4,     //连对
    'BOMB': 5 ,   //炸弹
}
var Cost = {};
Cost[0] = 0;

Cost[3] = 1;
Cost[4] = 2;
Cost[5] = 3;
Cost[6] = 4;
Cost[7] = 5;
Cost[8] = 6;
Cost[9] = 7;
Cost[10] = 8;
Cost[11] = 9;
Cost[12] = 10;
Cost[13] = 11;
Cost[1] = 12;

Cost[2] = 16;

Cost[21] = 21;
Cost[22] = 22;
var PatternScore = {};


exports.Pattern = Pattern;
exports.Cost = Cost;
exports.PatternScore = PatternScore;

